package com.smartens.boit.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class DeviceListData {


    @SerializedName("GetDevicesListResult")
    private GetDevicesListResultDTO getDevicesListResult;

    public GetDevicesListResultDTO getGetDevicesListResult() {
        return getDevicesListResult;
    }

    public void setGetDevicesListResult(GetDevicesListResultDTO getDevicesListResult) {
        this.getDevicesListResult = getDevicesListResult;
    }

    public static class GetDevicesListResultDTO {
        @SerializedName("FaultCount")
        private Integer faultCount;
        @SerializedName("FaultPercent")
        private Object faultPercent;
        @SerializedName("OflineCount")
        private Integer oflineCount;
        @SerializedName("OnlineCount")
        private Integer onlineCount;
        @SerializedName("OnlinePercent")
        private Object onlinePercent;
        @SerializedName("PageCount")
        private Integer pageCount;
        @SerializedName("RecordCount")
        private Integer recordCount;
        @SerializedName("RecordDetail")
        private List<RecordDetailDTO> recordDetail;
        @SerializedName("RecordRemark")
        private String recordRemark;
        @SerializedName("RecordStatus")
        private String recordStatus;
        @SerializedName("ServicesCount")
        private Integer servicesCount;
        @SerializedName("YunWeiCount")
        private Integer yunWeiCount;

        public Integer getFaultCount() {
            return faultCount;
        }

        public void setFaultCount(Integer faultCount) {
            this.faultCount = faultCount;
        }

        public Object getFaultPercent() {
            return faultPercent;
        }

        public void setFaultPercent(Object faultPercent) {
            this.faultPercent = faultPercent;
        }

        public Integer getOflineCount() {
            return oflineCount;
        }

        public void setOflineCount(Integer oflineCount) {
            this.oflineCount = oflineCount;
        }

        public Integer getOnlineCount() {
            return onlineCount;
        }

        public void setOnlineCount(Integer onlineCount) {
            this.onlineCount = onlineCount;
        }

        public Object getOnlinePercent() {
            return onlinePercent;
        }

        public void setOnlinePercent(Object onlinePercent) {
            this.onlinePercent = onlinePercent;
        }

        public Integer getPageCount() {
            return pageCount;
        }

        public void setPageCount(Integer pageCount) {
            this.pageCount = pageCount;
        }

        public Integer getRecordCount() {
            return recordCount;
        }

        public void setRecordCount(Integer recordCount) {
            this.recordCount = recordCount;
        }

        public List<RecordDetailDTO> getRecordDetail() {
            return recordDetail;
        }

        public void setRecordDetail(List<RecordDetailDTO> recordDetail) {
            this.recordDetail = recordDetail;
        }

        public String getRecordRemark() {
            return recordRemark;
        }

        public void setRecordRemark(String recordRemark) {
            this.recordRemark = recordRemark;
        }

        public String getRecordStatus() {
            return recordStatus;
        }

        public void setRecordStatus(String recordStatus) {
            this.recordStatus = recordStatus;
        }

        public Integer getServicesCount() {
            return servicesCount;
        }

        public void setServicesCount(Integer servicesCount) {
            this.servicesCount = servicesCount;
        }

        public Integer getYunWeiCount() {
            return yunWeiCount;
        }

        public void setYunWeiCount(Integer yunWeiCount) {
            this.yunWeiCount = yunWeiCount;
        }

        public static class RecordDetailDTO {
            @SerializedName("Brightness1")
            private String brightness1;
            @SerializedName("CurrentHumidity")
            private Integer currentHumidity;
            @SerializedName("CurrentTemperature")
            private Integer currentTemperature;
            @SerializedName("DeviceFloor")
            private Integer deviceFloor;
            @SerializedName("DevicePhaseDataList")
            private List<DevicePhaseDataListDTO> devicePhaseDataList;
            @SerializedName("DevicePhaseType")
            private String devicePhaseType;
            @SerializedName("DeviceStatus")
            private Integer deviceStatus;
            @SerializedName("DeviceType")
            private Integer deviceType;
            @SerializedName("DeviceratedPower")
            private String deviceratedPower;
            @SerializedName("DevicesAddress")
            private String devicesAddress;
            @SerializedName("DevicesName")
            private String devicesName;
            @SerializedName("DevicesNum")
            private String devicesNum;
            @SerializedName("GatewayMac")
            private String gatewayMac;
            @SerializedName("KongKaiNum")
            private String kongKaiNum;
            @SerializedName("ProjectID")
            private String projectID;
            @SerializedName("UnitsName")
            private String unitsName;
            private Integer alertMode;

            public String getBrightness1() {
                return brightness1;
            }

            public void setBrightness1(String brightness1) {
                this.brightness1 = brightness1;
            }

            public Integer getCurrentHumidity() {
                return currentHumidity;
            }

            public void setCurrentHumidity(Integer currentHumidity) {
                this.currentHumidity = currentHumidity;
            }

            public Integer getCurrentTemperature() {
                return currentTemperature;
            }

            public void setCurrentTemperature(Integer currentTemperature) {
                this.currentTemperature = currentTemperature;
            }

            public Integer getDeviceFloor() {
                return deviceFloor;
            }

            public void setDeviceFloor(Integer deviceFloor) {
                this.deviceFloor = deviceFloor;
            }

            public List<DevicePhaseDataListDTO> getDevicePhaseDataList() {
                return devicePhaseDataList;
            }

            public void setDevicePhaseDataList(List<DevicePhaseDataListDTO> devicePhaseDataList) {
                this.devicePhaseDataList = devicePhaseDataList;
            }

            public String getDevicePhaseType() {
                return devicePhaseType;
            }

            public void setDevicePhaseType(String devicePhaseType) {
                this.devicePhaseType = devicePhaseType;
            }

            public Integer getDeviceStatus() {
                return deviceStatus;
            }

            public void setDeviceStatus(Integer deviceStatus) {
                this.deviceStatus = deviceStatus;
            }

            public Integer getDeviceType() {
                return deviceType;
            }

            public void setDeviceType(Integer deviceType) {
                this.deviceType = deviceType;
            }

            public String getDeviceratedPower() {
                return deviceratedPower;
            }

            public void setDeviceratedPower(String deviceratedPower) {
                this.deviceratedPower = deviceratedPower;
            }

            public String getDevicesAddress() {
                return devicesAddress;
            }

            public void setDevicesAddress(String devicesAddress) {
                this.devicesAddress = devicesAddress;
            }

            public String getDevicesName() {
                return devicesName;
            }

            public void setDevicesName(String devicesName) {
                this.devicesName = devicesName;
            }

            public String getDevicesNum() {
                return devicesNum;
            }

            public void setDevicesNum(String devicesNum) {
                this.devicesNum = devicesNum;
            }

            public String getGatewayMac() {
                return gatewayMac;
            }

            public void setGatewayMac(String gatewayMac) {
                this.gatewayMac = gatewayMac;
            }

            public String getKongKaiNum() {
                return kongKaiNum;
            }

            public void setKongKaiNum(String kongKaiNum) {
                this.kongKaiNum = kongKaiNum;
            }

            public String getProjectID() {
                return projectID;
            }

            public void setProjectID(String projectID) {
                this.projectID = projectID;
            }

            public String getUnitsName() {
                return unitsName;
            }

            public void setUnitsName(String unitsName) {
                this.unitsName = unitsName;
            }

            public Integer getAlertMode() {
                return alertMode;
            }

            public void setAlertMode(Integer alertMode) {
                this.alertMode = alertMode;
            }

            public static class DevicePhaseDataListDTO {
                @SerializedName("DeviceCurrentPower")
                private String deviceCurrentPower;
                @SerializedName("Deviceratedcurrent")
                private String deviceratedcurrent;
                @SerializedName("Deviceratedvoltage")
                private String deviceratedvoltage;
                @SerializedName("XiangName")
                private String xiangName;

                public String getDeviceCurrentPower() {
                    return deviceCurrentPower;
                }

                public void setDeviceCurrentPower(String deviceCurrentPower) {
                    this.deviceCurrentPower = deviceCurrentPower;
                }

                public String getDeviceratedcurrent() {
                    return deviceratedcurrent;
                }

                public void setDeviceratedcurrent(String deviceratedcurrent) {
                    this.deviceratedcurrent = deviceratedcurrent;
                }

                public String getDeviceratedvoltage() {
                    return deviceratedvoltage;
                }

                public void setDeviceratedvoltage(String deviceratedvoltage) {
                    this.deviceratedvoltage = deviceratedvoltage;
                }

                public String getXiangName() {
                    return xiangName;
                }

                public void setXiangName(String xiangName) {
                    this.xiangName = xiangName;
                }
            }
        }
    }
}
